package com.example.Model;

import java.sql.Timestamp;


public class Model_Dcpb {

	private int CPB_id ;
	private String CPB_Kubun;
	private String CPB_Code;
	private Timestamp CPB_Date;
	private String CPB_BarCode;
	private String CPB_Name ;
	private String CPB_WHO;
	private String CPB_Limit;
	private String CPB_Class;
	private int CPB_Part;
	private int CPB_Qu ;
	private int CPB_Lie;
	private int CPB_Jie;
	private int CPB_Cen;
	private String CPB_LR ;
	private String CPB_YN;
	private String CPB_Bitmap ;
	private String CPB_Yobi;
	private Timestamp CPB_UpDate;
	

	public Model_Dcpb(String cPB_Kubun,String cPB_Code,Timestamp cPB_Date,  String cPB_Name, String username,int cPB_Qu,
			int cPB_Lie, int cPB_Jie, int cPB_Cen,String cPB_LR ,String cPB_YN) {
		this.CPB_Kubun = cPB_Kubun;
		this.CPB_Code = cPB_Code;
		this.CPB_Date = cPB_Date;
		this.CPB_Name = cPB_Name;
		this.CPB_WHO = username;
		this.CPB_Qu = cPB_Qu;
		this.CPB_Lie = cPB_Lie;
		this.CPB_Jie = cPB_Jie;
		this.CPB_Cen = cPB_Cen;
		this.CPB_LR = cPB_LR;
		this.CPB_YN = cPB_YN;
	}
	
	public Model_Dcpb(){}
	
	public Model_Dcpb(int cPB_id, String cPB_Kubun, String cPB_Code,
			Timestamp cPB_Date, String cPB_BarCode, String cPB_Name, String cPB_WHO,
			String cPB_Limit, String cPB_Class, int cPB_Part, int cPB_Qu,
			int cPB_Lie, int cPB_Jie, int cPB_Cen, String cPB_LR,
			String cPB_YN, String cPB_Bitmap, String cPB_Yobi, Timestamp cPB_UpDate) {
		super();
		CPB_id = cPB_id;
		CPB_Kubun = cPB_Kubun;
		CPB_Code = cPB_Code;
		CPB_Date = cPB_Date;
		CPB_BarCode = cPB_BarCode;
		CPB_Name = cPB_Name;
		CPB_WHO = cPB_WHO;
		CPB_Limit = cPB_Limit;
		CPB_Class = cPB_Class;
		CPB_Part = cPB_Part;
		CPB_Qu = cPB_Qu;
		CPB_Lie = cPB_Lie;
		CPB_Jie = cPB_Jie;
		CPB_Cen = cPB_Cen;
		CPB_LR = cPB_LR;
		CPB_YN = cPB_YN;
		CPB_Bitmap = cPB_Bitmap;
		CPB_Yobi = cPB_Yobi;
		CPB_UpDate = cPB_UpDate;
	}
	
	public Model_SimpleDcpb toSimpleDcpb(){
		return new Model_SimpleDcpb(this.CPB_id, this.CPB_Code, this.CPB_Qu, this.CPB_Lie, 
				this.CPB_Jie, this.CPB_Cen, this.CPB_LR, this.CPB_YN, this.CPB_UpDate);
		
	}
	
	public int getCPB_id() {
		return CPB_id;
	}
	public void setCPB_id(int cPB_id) {
		CPB_id = cPB_id;
	}
	public String getCPB_Kubun() {
		return CPB_Kubun;
	}
	public void setCPB_Kubun(String cPB_Kubun) {
		CPB_Kubun = cPB_Kubun;
	}
	public String getCPB_Code() {
		return CPB_Code;
	}
	public void setCPB_Code(String cPB_Code) {
		CPB_Code = cPB_Code;
	}
	public Timestamp getCPB_Date() {
		return CPB_Date;
	}
	public void setCPB_Date(Timestamp cPB_Date) {
		CPB_Date = cPB_Date;
	}
	public String getCPB_BarCode() {
		return CPB_BarCode;
	}
	public void setCPB_BarCode(String cPB_BarCode) {
		CPB_BarCode = cPB_BarCode;
	}
	public String getCPB_Name() {
		return CPB_Name;
	}
	public void setCPB_Name(String cPB_Name) {
		CPB_Name = cPB_Name;
	}
	public String getCPB_WHO() {
		return CPB_WHO;
	}
	public void setCPB_WHO(String cPB_WHO) {
		CPB_WHO = cPB_WHO;
	}
	public String getCPB_Limit() {
		return CPB_Limit;
	}
	public void setCPB_Limit(String cPB_Limit) {
		CPB_Limit = cPB_Limit;
	}
	public String getCPB_Class() {
		return CPB_Class;
	}
	public void setCPB_Class(String cPB_Class) {
		CPB_Class = cPB_Class;
	}
	public int getCPB_Part() {
		return CPB_Part;
	}
	public void setCPB_Part(int cPB_Part) {
		CPB_Part = cPB_Part;
	}
	public int getCPB_Qu() {
		return CPB_Qu;
	}
	public void setCPB_Qu(int cPB_Qu) {
		CPB_Qu = cPB_Qu;
	}
	public int getCPB_Lie() {
		return CPB_Lie;
	}
	public void setCPB_Lie(int cPB_Lie) {
		CPB_Lie = cPB_Lie;
	}
	public int getCPB_Jie() {
		return CPB_Jie;
	}
	public void setCPB_Jie(int cPB_Jie) {
		CPB_Jie = cPB_Jie;
	}
	public int getCPB_Cen() {
		return CPB_Cen;
	}
	public void setCPB_Cen(int cPB_Cen) {
		CPB_Cen = cPB_Cen;
	}
	public String getCPB_LR() {
		return CPB_LR;
	}
	public void setCPB_LR(String cPB_LR) {
		CPB_LR = cPB_LR;
	}
	public String getCPB_YN() {
		return CPB_YN;
	}
	public void setCPB_YN(String cPB_YN) {
		CPB_YN = cPB_YN;
	}
	public String getCPB_Bitmap() {
		return CPB_Bitmap;
	}
	public void setCPB_Bitmap(String cPB_Bitmap) {
		CPB_Bitmap = cPB_Bitmap;
	}
	public String getCPB_Yobi() {
		return CPB_Yobi;
	}
	public void setCPB_Yobi(String cPB_Yobi) {
		CPB_Yobi = cPB_Yobi;
	}
	public Timestamp getCPB_UpDate() {
		return CPB_UpDate;
	}
	public void setCPB_UpDate(Timestamp cPB_UpDate) {
		CPB_UpDate = cPB_UpDate;
	}
	
	
}
